Protect 2-side-window function from too many args
authorjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 16:54:16 +0000 (12:54 -0400)
committerjustbur <justin@burkett.cc>
Wed, 22 Jul 2015 16:54:16 +0000 (12:54 -0400)
which-key.el

index 9b2dff0a6426f54b3f0009db4eb9f6a6cb101287..5429eac9824f8fef1ce978038e96e4a6a61d3484 100644 (file)
@@ -997,7 +997,7 @@ enough space based on your settings and frame size." prefix-keys)
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
 ;; Update
 
-(defun which-key--try-2-side-windows (page-n loc1 loc2)
+(defun which-key--try-2-side-windows (page-n loc1 loc2 &rest _ignore)
   (let (pages1 pages2)
     (let ((which-key-side-window-location loc1))
       (setq pages1 (which-key--create-pages formatted-keys (window-width))))